module.exports = {
	base:'/pm/apidocs/',
    title: 'easytrack ApiDocs',
    description: '接口文档',
    head: [
	  [
		"link",
		 {
		  rel: "icon",
		  href: "/easytrack.png"
		 }
      ]
    ],
    plugins: [
        'vuepress-plugin-mermaidjs',
        '@vuepress/back-to-top',
    ],
    themeConfig: {
        smoothScroll: true,
        logo: '/easytrack.png',
        /**algolia: {
            apiKey: '1c152ce7991c1da9adc5413104712c5a',
            indexName: 'v2fly'
        },**/
        locales: {
            '/': {
                selectText: '选择语言',
                label: '简体中文',
                editLinkText: '在 GitHub 上编辑此页',
                nav: [
                    {
                        text: '公共接口',
                        link: '/common/common',
                    },
                    {
                        text: 'ppm模块',
                        link: '/ppm/project',
                    },
                    {
                        text: 'ALM模块',
                        link: '/ALM/alm',
                    },
                    {
                        text: 'SLM模块',
                        link: '/SLM/slm',
                    },
                ],
                sidebar: {
                    '/common/': [
                        {
                            title: '公共接口',
							collapsable: false,
                            children: [
                                'common'
                            ],
                        },
                    ],
                    '/ppm/': [
                        {
                            title: 'ppm模块',
							collapsable: false,
                            children: [
                                'project',
								'department',
                            ],
                        },
                    ],
                    '/': 'auto',
                },
            },
        },
		displayAllHeaders: true,
        sidebar: 'auto',
        lastUpdated: '更新时间',
    },
}
